﻿using System;
using System.Collections.Generic;

namespace SpaceWolf.GameLogic
{
    public class Armory
    {
        //Some equipment stuff
        public static Laser PulseLaser = new Laser("Pulse Laser", 400, 150, 3, 2f, Microsoft.Xna.Framework.Graphics.Color.Purple);
        public static Laser BeamLaser = new Laser("Beam Laser", 1000, 200, 4, 2.1f, Microsoft.Xna.Framework.Graphics.Color.Blue);
        public static Laser MiningLaser = new Laser("Mining Laser", 800, 250, 5, 2.3f, Microsoft.Xna.Framework.Graphics.Color.Yellow);
        public static Laser MilitaryLaser = new Laser("Military Laser", 6000, 350, 6, 1.8f, Microsoft.Xna.Framework.Graphics.Color.Green);
        public static Laser LightLaser = new Laser("Light Laser", 8000, 300, 10, 2.1f, Microsoft.Xna.Framework.Graphics.Color.Red);

        public static CoolantUnit Coolant1 = new CoolantUnit("Cobra Coolant I", 800, 4, 0.2f);
        public static CoolantUnit Coolant2 = new CoolantUnit("Cobra Coolant II", 2000, 5, 0.2f);
        public static CoolantUnit Coolant3 = new CoolantUnit("Cobra Coolant Pro", 6000, 6, 0.2f);
        public static CoolantUnit Coolant4 = new CoolantUnit("Cobra Coolant Pro II", 8000, 7, 0.2f);

        public string Name;
        public float Price;

        public Armory()
        {
        }
    }

    #region ShipEquipment
    public class Laser : Armory, IEquipment
    {
       
        public float MaxDistance;
        public int HitPower;
        public Microsoft.Xna.Framework.Graphics.Color color;
        public float speed;

        public Laser(string Name, float Price, float maxDistance, int HP, float speed, Microsoft.Xna.Framework.Graphics.Color color)
        {
            this.Name = Name;
            this.Price = Price;
            this.MaxDistance = maxDistance;
            this.HitPower = HP;
            this.speed = speed;
            this.color = color;
        }
    }

    public class CoolantUnit : Armory, IEquipment
    {

        public float UnitEffective;
        public float speed;

        public CoolantUnit(string Name, float Price, float UnitEffective, float speed)
        {
            this.Name = Name;
            this.Price = Price;
            this.UnitEffective = UnitEffective;
            this.speed = speed;
        }
    }
    #endregion



}
